package com.spg.apidoc.resource;

import javax.xml.bind.annotation.XmlRootElement;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;



@ApiModel(value = "分页响应输出信息")  
@JsonSerialize
@XmlRootElement
public class Page {

	@ApiModelProperty(value = "数据总行数", required = false) 
	private int recordsTotal;
	@ApiModelProperty(value = "过滤后数据行数", required = false) 
	private int recordsFiltered;
	@ApiModelProperty(value = "请求标识", required = false) 
	private String draw;
	public int getRecordsTotal() {
		return recordsTotal;
	}
	public void setRecordsTotal(int recordsTotal) {
		this.recordsTotal = recordsTotal;
	}
	public int getRecordsFiltered() {
		return recordsFiltered;
	}
	public void setRecordsFiltered(int recordsFiltered) {
		this.recordsFiltered = recordsFiltered;
	}
	public String getDraw() {
		return draw;
	}
	public void setDraw(String draw) {
		this.draw = draw;
	}
	
}
